package com.spring.proxy.gp.test;

public class UserClient {

	public static void main(String[] args) {
		UserService proxy=UserServiceProxy.getInstance(new UserServiceImpl(),UserService.class);
		proxy.save(new UserBean(18, "xiao 强"));
		System.out.println("----------------------");
		System.out.println(proxy.getById(12));
	}

}
